package drds.datasource.connection_pool.api;

import java.math.BigDecimal;
import java.sql.ResultSetMetaData;

public interface ResultSet {


    //
    void close() throws SqlException;

    boolean isClosed() throws SqlException;

    int getFetchSize() throws SqlException;

    //
    void setFetchSize(int rows) throws SqlException;
    //

    ResultSetMetaData getResultSetMetaData() throws SqlException;

    int findColumn(String columnLabel) throws SqlException;

    boolean next() throws SqlException;

    //
    String getString(int columnIndex) throws SqlException;

    String getString(String columnLabel) throws SqlException;

    //
    BigDecimal getBigDecimal(int columnIndex) throws SqlException;

    BigDecimal getBigDecimal(String columnLabel) throws SqlException;
    //

    int getInt(int columnIndex) throws SqlException;

    int getInt(String columnLabel) throws SqlException;

    //
    long getLong(int columnIndex) throws SqlException;

    long getLong(String columnLabel) throws SqlException;

    //

    java.sql.Date getDate(int columnIndex) throws SqlException;

    java.sql.Date getDate(String columnLabel) throws SqlException;
    //

    java.sql.Time getTime(int columnIndex) throws SqlException;

    java.sql.Time getTime(String columnLabel) throws SqlException;
    //


    java.sql.Timestamp getTimestamp(int columnIndex) throws SqlException;

    java.sql.Timestamp getTimestamp(String columnLabel) throws SqlException;

    //
    Object getObject(int columnIndex) throws SqlException;

    Object getObject(String columnLabel) throws SqlException;


//


}
